/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package persona;

/**
 *
 * @author Ramon
 */
public class persona {

    private String nom;
    private int altura;
    private int pes;
    private String sexe;
    private String nacionalitat;

    public void establirNom(String nom){
        this.nom=nom;
    }
    public void establirAltura(int altura){
        this.altura=altura;
    }
    public void establirSexe(String sexe){
        this.sexe = sexe;
    }
    public void establirNacionalitat(String nacionalitat){
        this.nacionalitat=nacionalitat;
    }
    public void establirPes(int pes){
        this.pes=pes;
    }
}
